package com.qlogic.commons.platform.impls.lucene.model;

import java.io.Serializable;

public class FieldWrapper implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3772107826111209041L;

	private String name;
	private byte [] value;
	private String handler;
	private boolean store;
	private boolean tokenized;
	private String encoding;
	
	public FieldWrapper () {
	}
	
	public FieldWrapper (String name, byte [] value, String handler, 
			boolean store, boolean tokenized, String encoding) {
		this.name = name;
		this.value = value;
		this.handler = handler;
		this.store = store;
		this.tokenized = tokenized;
		this.encoding = encoding;
	}
	
	public String getEncoding() {
		return encoding;
	}
	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}
	public String getHandler() {
		return handler;
	}
	public void setHandler(String handler) {
		this.handler = handler;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isStore() {
		return store;
	}
	public void setStore(boolean store) {
		this.store = store;
	}
	public boolean isTokenized() {
		return tokenized;
	}
	public void setTokenized(boolean tokenized) {
		this.tokenized = tokenized;
	}
	public byte[] getValue() {
		return value;
	}
	public void setValue(byte[] value) {
		this.value = value;
	}

}
